﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ESOL.Common.DTO
{
    [DataContract]
    public class AssetQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int IsActive { set; get; }

        [DataMember]
        public string AssetTypeId { set; get; }
        [DataMember]
        public string Status { set; get; }
        [DataMember]
        public string AssetCode { set; get; }
        [DataMember]
        public string AssetSpec { set; get; }
        [DataMember]
        public string AssetName { set; get; }

    }

    [DataContract]
    public class ManufacturerQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int IsActive { set; get; }

        [DataMember]
        public DateTime LastMaintainDate { set; get; }
        [DataMember]
        public DateTime LastMaintainDateTo { set; get; }
        [DataMember]
        public string AssetId { set; get; }

    }

    [DataContract]
    public class FaRepairQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int IsActive { set; get; }

        [DataMember]
        public DateTime LastMaintainDate { set; get; }
        [DataMember]
        public DateTime LastMaintainDateTo { set; get; }
        [DataMember]
        public string AssetId { set; get; }

    }

    [DataContract]
    public class FaUseAppQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int IsActive { set; get; }

        [DataMember]
        public string AppNo { set; get; }
        [DataMember]
        public DateTime AppDate { set; get; }
        [DataMember]
        public DateTime AppDateTo { set; get; }
        [DataMember]
        public string DeptNo { set; get; }
        [DataMember]
        public string ApproveUserNo { set; get; }
        [DataMember]
        public string Status { set; get; }

    }

    [DataContract]
    public class FaUseQueryCondition
    {
        [DataMember]
        public int txtPageIndex { set; get; }
        [DataMember]
        public int txtPageSize { set; get; }
        [DataMember]
        public int IsActive { set; get; }

        [DataMember]
        public string AssetTypeId { set; get; }
        [DataMember]
        public string Status { set; get; }
        [DataMember]
        public string AssetNo { set; get; }
        [DataMember]
        public string AssetSpec { set; get; }
        [DataMember]
        public string AssetName { set; get; }
        [DataMember]
        public string UserNo { set; get; }

    }



}
